// 字体大小
@font-size-12: 12px !important;
@font-size-13: 13px !important;
@font-size-14: 14px !important;
@font-size-15: 15px !important;
@font-size-16: 16px !important;
@font-size-17: 17px !important;
@font-size-18: 18px !important;
@font-size-20: 20px !important;
@bg-color-white: white;

// 头部
@header-height: 50px !important;
@header-bg-color: #262F3E;
@header-bg-color-hover: #344258;
@header-text-color-hover: white;

// 菜单
@menu-bg-color: #1E222D;
@menu-item-height: 38px;

@menu-item-bg-color: #1E222D;
@menu-item-bg-color-hover: #262F3E;
@menu-item-bg-color-active: #006eff;

@menu-item-text-color: #c1c6c8;
@menu-item-text-color-hover: #C1C6C8;
@menu-item-text-color-active: white;

// 侧边栏
@aside-bg-color: @menu-bg-color;

.left {
  float: left;
}

.right {
  float: right;
}

.clear:after {
  content: "";
  clear: left;
  display: block;
}

.default-shadow {
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
}

/*页面切换动画*/
/*进入过渡的结束状态，元素被插入时就生效，在过渡过程完成后移除*/
.fade-enter-active {
  transition: opacity .20s;
}


/*进入过渡的开始状态，元素被插入时生效，只应用一帧后立刻删除*/
.fade-enter {
  opacity: 0;
}


/*离开过渡的开始状态，元素被删除时触发，只应用一帧后立刻删除*/
.fade-leave {
  opacity: 1;
}


/*离开过渡的结束状态，元素被删除时生效，离开过渡完成后被删除*/
.fade-leave-active {
  opacity: 0;
  transition: opacity .20s;
}
/////////////////////////////////////////////////////////////////////// css


/**
 * 数据表格
 */
.cs-container {
  // 标题
  .cs-title {
    width: 100%;
    min-height: 50px;
    line-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid #ddd;
    color: #000;
    background: #fff;
    font-size: 16px;
    font-weight: 700;

    .right {
      font-size: 12px;
      color: #444;
      font-weight: normal;
    }
  }

  // 内容
  .cs-content {
    padding: 20px;

    &.cs-table {
      height: calc(100% - 50px - 1px);
    }

    // 表单
    .form-tool {
      position: relative;
    }

    // 数据表格
    .data-table {
      margin-top: 15px;
      background-color: white;
      box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
      height: calc(100% - 15px - 30px);
      overflow: auto;

      // 分页
      .cs-pagination {
        height: 60px;
        padding: 15px;
        text-align: right;
      }
    }
  }
}